home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / doc / www-talk.archive.Z / www-talk.archive / text0071.txt < prev    next >
Encoding:
Text File  |  1992-11-30  |  2.7 KB  |  68 lines

  1.   Thank you Ed for more useful bug reports. Here are your answers...
  2.  
  3. ----------------------------------------------------------------------------
  4. problem yacc'ing violaWWW
  5.  
  6. I don't know. I never compiled it myself... The error is not in gram.y...
  7. Looks like your cc doesn't understand the "#if" preprocessor directive (ANSI).
  8. Try gcc instead.
  9.  
  10. ----------------------------------------------------------------------------
  11. behavior of ">" and ">>" in line mode browser
  12.  
  13. Here's a diff on HTBrowse.c to handle this. The line numbers and the
  14. "the_choice" variable will not correspond to your code because they're
  15. from the unreleased 1.2e (soon to become 1.3 on ftp...)
  16.  
  17. *** 1080,1087 ****
  18.   
  19.                 command  = (char *) malloc(
  20.                         strlen(address)+strlen(the_choice)+30);
  21. !               sprintf(command, 
  22. !                       "www -n -na -p \"%s\" %s", address, the_choice);
  23.                 result = system(command);
  24.                 if (result) printf("  %s  returns %d\n", command, result);
  25.                 free(command);
  26. --- 1080,1087 ----
  27.   
  28.                 command  = (char *) malloc(
  29.                         strlen(address)+strlen(the_choice)+30);
  30. !               sprintf(command, "www -n %s \"%s\" %s", 
  31. !                       HTDiag ? "-source" : "-na -p", address, the_choice);
  32.                 result = system(command);
  33.                 if (result) printf("  %s  returns %d\n", command, result);
  34.                 free(command);
  35.  
  36. ----------------------------------------------------------------------------
  37. rfc: "gateway"
  38.  
  39. I see your point. However, the only intention of the WWW_foo_GATEWAY syntax
  40. is to enable access to protocols not understood by the www client by means
  41. of a gateway that translates those to/from HTTP/HTML. Ideally, what we need
  42. to be able to fetch RFCs properly is a naming service, x500 or whatever.
  43. Your rfc: access is rather an address alias. For that, you could direct it
  44. to your own HTTP server with WWW_rfc_GATEWAY, and then insert
  45.  
  46.     map    rfc:    file://ftp.nisc.sri.com/rfc/
  47.  
  48. in your httpd.conf rule file. But beware that if you start serving HTML
  49. files with rfc: addresses instead of file://host/rfc, every www client in
  50. the world will have to set WWW_rfc_GATEWAY.
  51.  
  52. ----------------------------------------------------------------------------
  53. WAISGate support for WAIS 'HTML' doc type
  54.  
  55. Tim answered this one. As he said, "Great!".
  56.  
  57. ----------------------------------------------------------------------------
  58.   Jean-Francois Groff (jfg@info.cern.ch)
  59.   World-Wide Web initiative
  60.   CERN, ECP division, CH-1211 Geneva 23, Switzerland
  61.   Phone +41 22 767 3755 -- Fax +41 22 767 7155
  62. --
  63. "If we were directed from Washington when to sow and when to reap,
  64.  we would soon want bread."
  65.     - Thomas Jefferson
  66.  
  67.  
  68.